package com.woniu.communitymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 车位表
 * @TableName parking
 */
@TableName(value ="parking")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Parking implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车位号
     */
    @TableField(value = "numbers")
    private String numbers;

    /**
     * 状态：0=关闭;1=开启
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 关联owner表主键
     */
    @TableField(value = "owner_id")
    private Integer ownerId;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    private String ownerTel;
    private String ownerName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}